//
//  MBProgressHUD+Extend.h
//  RMMaterialRed
//
//  Created by XBWH on 2024/3/8.
//

#import <MBProgressHUD/MBProgressHUD.h>

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (Extend)
///文字+菊花提示，不会自动消失
+(MBProgressHUD *)rb_showMessage:(NSString *)message ToView:(UIView *)view;
///显示一条提示信息，自动消失提示
+(MBProgressHUD *)rb_showAutoMessage:(NSString *)message ToView:(UIView *)view;
///显示一条信息，自定义停留时间和样式
+(MBProgressHUD *)rb_showMessage:(NSString *)message ToView:(UIView *)view RemainTime:(CGFloat)time Model:(MBProgressHUDMode)mode;
///加载gif视图,如果gifName为空，则只有文字提示效果
+(MBProgressHUD *)rb_showGifToView:(NSString *)message;
///隐藏MBProgressHUD
+(void)rb_hideHUDForView:(UIView *)view;
///快速从window中隐藏MBProgressHUD
+ (void)rb_hideHUD;
@end

NS_ASSUME_NONNULL_END
